<script type="text/javascript" src="__PUBLIC__/js/jquery.easing.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery/lin_scrollTool.js"></script>
                        	<div class="jqueryTitle mt5">
                            	<span>实现原理</span>
                            </div>
                            <div class="p15">
                            	通过监听scroll事件，不停地计算滚动对象相对浏览器可视范围顶部之间的距离
                            </div>
                            
                        	<div class="jqueryTitle mt5">
                            	<span>相关参数</span>
                            </div>
                            <div class="p15">
                            	<table cellpadding="0" cellspacing="0" class="jqueryAttr">
                                	<thead>
                                    	<tr>
                                        	<th>参数名</th>
                                            <th>参数说明</th>
                                        </tr>
                                    </thead>
                                    <tbody>
		<tr>
        	<td>scrollId</td>
            <td>滚动对象id,默认：lin_scrollObjId</td>
        </tr>
		<tr>
        	<td>topBtnId</td>
            <td>返回顶部按钮id,默认：lin_scrollTopBtn</td>
        </tr>        
        <tr>
        	<td>tpl</td>
            <td>滚动对象中的内容,默认：'&lt;a href="javascript:void(0);" id="lin_scrollTopBtn"&gt;返回顶部&lt;/a&gt;'</td>
        </tr>
		<tr>
        	<td>toPageRight</td>
            <td>按钮距离页面边缘距离,默认：20</td>
        </tr>
		<tr>
        	<td>pageWidth</td>
            <td>页面内容宽度,默认：970</td>
        </tr>
		<tr>
        	<td>toBottom</td>
            <td>按钮距离底部距离,默认50</td>
        </tr>
		<tr>
        	<td>hideHeight</td>
            <td>隐藏区域高度,默认400</td>
        </tr>
		<tr>
        	<td>timeThread</td>
            <td>用于IE的setTimeout进程</td>
        </tr>                                         
        </tbody>
                                </table>
                            </div> 
                            <div class="jqueryTitle mt5">
                            	<span>演示效果</span>
                            </div>
                            <div class="p15">
                            	<p class="pt15">前期准备：头部加入jquery-1.7.2.min.js;lin_scrollTool.js文件</p>
                            	<div class="pt15"><strong>效果</strong></div>
                                <p>CSS</p>
                                <pre>#lin_scrollTopBtn{background:url(bk.jpg) no-repeat; width:49px; height:26px; text-indent:-99999px; overflow:hidden; display:block;}
#lin_scrollTopBtn:hover{background-position:-49px 0px;}</pre>
                                <p>js</p>
                                <pre>$.lin_scrollTool();</pre>
             <div class="blank10"></div>
			
                            	                             
                                
                            </div>  

                            <div class="clearfix pt40 pb40">
                            	<a href="http://url.cn/TLaqb3" title="《{$data.title}》源代码下载" class="jqueryDown" rel="nofollow" target="_blank">《{$data.title}》源代码下载</a>
                            </div>   
                        
 
 <script type="text/javascript">
 $(function(){
	 	$.lin_scrollTool();
	});
 </script>   
